* {
    margin: 0;
    padding: 0;
  }
  
  ul, ol, li {
    list-style: none;
  }
  
  .banner {
    width: 600px;
    height: 400px;
    border: 4px solid pink;
    border-radius: 10px;
    margin: 50px auto;
    position: relative;
  }
  
  .banner > .imgBox {
    width: 100%;
    height: 100%;
    position: relative;
  }
  
  .banner > .imgBox > li {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
  
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 100px;
    color: #fff;
  
    opacity: 0;
  
    transition: all .3s linear;
  }
  
  .banner > .imgBox > li.active {
    opacity: 1;
  }
  
  .banner > .pointBox {
    width: 200px;
    height: 30px;
    background-color: rgba(0, 0, 0, .5);
    border-radius: 15px;
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }
  
  .banner > .pointBox > li {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
  }
  
  .banner > .pointBox > li.active {
    background-color: red;
  }
  
  .banner > div {
    width: 30px;
    height: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
  }
  
  .banner > div.prev {
    left: 0;
  }
  
  .banner > div.next {
    right: 0;
  }
  